package com.zbkj.crmeb.front.response;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zbkj.crmeb.chant.model.ChannelMerchant;
import com.zbkj.crmeb.chant.response.ChannelDiscountPackageResponse;
import com.zbkj.crmeb.front.vo.ActivityVo;
import com.zbkj.crmeb.marketing.model.StoreCoupon;
import com.zbkj.crmeb.store.model.ChannelFreeShippingActivity;
import com.zbkj.crmeb.store.response.StoreProductAttrValueResponse;
import com.zbkj.crmeb.store.response.StoreProductGroupActivityResponse;
import com.zbkj.crmeb.store.response.StoreProductRecommendResponse;
import com.zbkj.crmeb.store.response.StoreProductStoreInfoResponse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品详情
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProductDetailResponse对象", description="商品详情H5")
public class ProductDetailResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品信息")
    private StoreProductStoreInfoResponse storeInfo;

    @ApiModelProperty(value = "产品属性")
    private List<HashMap<String, Object>> productAttr;

    @ApiModelProperty(value = "商品属性详情")
    private Map<String, StoreProductAttrValueResponse> productValue;
    
    @ApiModelProperty(value = "商品属性详情")
    private List<StoreProductAttrValueResponse> productValues;


    @ApiModelProperty(value = "返佣金额区间")
    private String priceName;

    @ApiModelProperty(value = "拼团，砍价，秒杀商品集合")
    private List activity;

    @ApiModelProperty(value = "优品推荐列表")
    private List<StoreProductRecommendResponse> goodList;

    @ApiModelProperty(value = "最新评价")
    private Object reply;

    @ApiModelProperty(value = "评价数量")
    private Integer replyCount;

    @ApiModelProperty(value = "好评率")
    private Integer replyChance;

    @ApiModelProperty(value = "主图base64")
    private String base64Image;

    @ApiModelProperty(value = "商户信息")
    private ChannelMerchant channelMerchant;

    @ApiModelProperty(value = "活动信息")
    private ActivityVo activityVo;

    @ApiModelProperty(value = "拼团商品sku信息")
    private StoreProductGroupActivityResponse groupActivityValues;

    @ApiModelProperty(value = "满额包邮信息")
    private ChannelFreeShippingActivity freeShippingActivity;

    @ApiModelProperty(value = "商品可用优惠券列表")
    private List<StoreCoupon> storeCoupons;

    @ApiModelProperty(value = "优惠套餐信息")
    private List<ChannelDiscountPackageResponse> discountPackageInfo;

    @ApiModelProperty(value = "是否优惠价")
    private Integer isPreferential;

    /** 是否是指定渠道商的自建商品及大陆现货或者指定团长的推广商品 */
    private Integer isAllowSelfPickUp;

    /**
     * 是否是活动报名商品
     */
    private Integer isActiveApplyProduct;

}
